﻿namespace CatClient.Message.Spi.Heartbeat.Extend
{
    using CatClient.Message.Spi.Heartbeat;
    using System;
    using System.Collections.Generic;
    using System.Runtime.CompilerServices;
    using System.Xml.Serialization;

    public abstract class HeartbeatExtention : IRefresh
    {
        protected HeartbeatExtention()
        {
        }

        public abstract void Refresh();

        public abstract Dictionary<string, double> Dict { get; }

        public string AdditionInfo { get; set; }

        [XmlAttribute("id")]
        public abstract string Id { get; }
    }
}

